/*
 * UF.java
 *
 * Created on October 7, 2007, 10:50 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package petstore.model;

import javax.persistence.AttributeOverride;
import javax.persistence.AttributeOverrides;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Entity class UF
 * 
 * 
 * @author Tom Hayden
 */
@Entity
@Table(name = "uf")
@AttributeOverrides( {
    @AttributeOverride(name="id", column=@Column(name="cduf")),
    @AttributeOverride(name="description", column=@Column(name="uf")),
    @AttributeOverride(name="active", column=@Column(name="ativo"))
})
public class UF extends CodeData {

    @Column(name = "nmestado")
    private String nomeEstado;

    @Column(name = "nmpais")
    private String nomePais;

    @Column(name = "prccotaicms")
    private Double percentualCotaIcms;
    
    @Column(name = "prccotaiss")
    private Double percentualCotaIss;

    /**
     * Creates a new instance of UF
     */
    public UF() {
    }

    public String getNomeEstado() {
        return nomeEstado;
    }

    public void setNomeEstado(String nomeEstado) {
        this.nomeEstado = nomeEstado;
    }

    public String getNomePais() {
        return nomePais;
    }

    public void setNomePais(String nomePais) {
        this.nomePais = nomePais;
    }

    public Double getPercentualCotaIcms() {
        return percentualCotaIcms;
    }

    public void setPercentualCotaIcms(Double percentualCotaIcms) {
        this.percentualCotaIcms = percentualCotaIcms;
    }

    public Double getPercentualCotaIss() {
        return percentualCotaIss;
    }

    public void setPercentualCotaIss(Double percentualCotaIss) {
        this.percentualCotaIss = percentualCotaIss;
    }

}
